package com.example.music.service;

import com.example.commonutils.R;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName DownloadService
 * @Author: wx
 * @Create: 2022-10-08  20:15
 * @Description TODO
 * @Version: 1.0
 **/
public interface DownloadService {
    /**
     * 下载歌曲
     * @param song
     * @return
     */
    String downloadSong(String song);

    void downLoadFile(HttpServletRequest request, HttpServletResponse response, String song);
}
